﻿using UnityEngine;
using UnityGameFramework.Runtime;

namespace VRLauncher
{
    /// <summary>
    /// 游戏入口。
    /// </summary>
    public partial class GameManager : MonoBehaviour
    {
        public static BuiltinDataComponent BuiltinData
        {
            get;
            private set;
        }

        //public static ItemComponent Item
        //{
        //    get;
        //    private set;
        //}

        ////  public static DataComponent Data
        //public static DataComponent Data
        //{
        //    get;
        //    private set;
        //}


        private static void InitCustomComponents()
        {
            BuiltinData = UnityGameFramework.Runtime.GameEntry.GetComponent<BuiltinDataComponent>();
           // Item = UnityGameFramework.Runtime.GameEntry.GetComponent<ItemComponent>();
           // Data = UnityGameFramework.Runtime.GameEntry.GetComponent<DataComponent>();
        }
    }
}
